package com.example.lib_storage.mmkv


import com.example.lib_storage.mmkv.utils.MMKVOwner
import com.example.lib_storage.mmkv.utils.MMKVProperty
import com.tencent.mmkv.MMKV

object AppMMKV: MMKVOwner {
    //  MMKV实例 auth文件中
    override val mmkv: MMKV
        get() = MMKV.mmkvWithID("app")

    //meid友盟分享id
    var meid by MMKVProperty("")


    //用户隐私协议
    var splashAgreement by MMKVProperty(false)

    //app引导页
    var needGuide by MMKVProperty(true)

    //活动搜索历史记录
    var activitySearchHistory by MMKVProperty("")

    //路线搜索记录
    var routeSearchHistory by MMKVProperty("")

    // 俱乐部管理员相关搜索记录
    var clubMgrSearchHistory by MMKVProperty("")

    // 俱乐部管理员相关搜索记录
    var clubSearchHistory by MMKVProperty("")

    //记录启动时间
    var lastLaunchTime by MMKVProperty(0L)
}